import { IsInt, IsNotEmpty, IsOptional, IsString, MaxLength } from "class-validator";

export default class QueryClassDto {
    @MaxLength(50)
    @IsNotEmpty()
    @IsString()
    school:string;


    @IsInt()
    level:number;


    @IsInt()
    year:number;

}